<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script type="text/javascript" src="../js/vue.js"></script>
    
</head>
<body>
    <div id="root">
        <!-- {{js 表达式, js代码块}} -->
        <!-- 插值语法 -->
        <h1>message: {{message}},{{Date.now()}},1+1={{1+1}}</h1>
    </div>
    <script type="text/javascript">
        Vue.config.productionTip = false;
        // const vue = 
        new Vue({
           el: "#root",
        //    data() {
        //        return {
        //            message:  "create by vue"
        //        }
        //    },
            data:{
                message: "create by vue"
            }
        }); // vm
        
    </script>
</body>
</html>